package org.elephas.service;

import org.elephas.model.Comment;
import org.elephas.persistence.Dao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CommentFinder {

	@Autowired
	private Dao dao;

	public Comment findById(String commentId) {
		return (Comment) dao.get(Comment.class, commentId);
	}
}
